﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class TextController : MonoBehaviour {
    private Text text;

    // Use this for initialization
    void Start () {
        text = this.GetComponent<Text>();
	}
	
	// Update is called once per frame
	void Update () {
        text.text = "HP:" + GameObject.Find("Garrosh").GetComponent<sc>().Health;     
    }
}
